package com.xiaof.store.mapper;

import com.xiaof.store.entity.Order;
import com.xiaof.store.entity.OrderItem;

/**
 * Created with IntelliJ IDEA.
 *
 * @ProjectName: store
 * @Package: com.xiaof.store.mapper
 * @ClassName: OrderMapper
 * @Author: xiaof
 * @Description:订单的持久层接口
 * @Date: 2022/1/22 20:41
 * @Version: 1.0
 */
public interface OrderMapper {
    /**
     * 插入订单
     * @param order
     * @return 受影响的行数
     */
    Integer insertOrder(Order order);
    /**
     * 插入订单项
     * @param
     * @return 受影响的行数
     */
    Integer insertOrderItem(OrderItem orderItem);
}
